﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MindTree.PerfWorkbench.Azure.Monitor.Core;

namespace MindTree.PerfWorkbench.Azure.Monitor
{
    public class CheckedListCellItem
    {
        private AzureRoleInstance instance;

        public AzureRoleInstance Instance
        {
            get
            {
                return instance;
            }
            set
            {
                instance = value;
            }
        }

        private CounterSet cntrSet;

        public CounterSet CntrSet
        {
            get
            {
                return cntrSet;
            }
            set
            {
                cntrSet = value;
            }
        }

        private bool ischecked; 

        public bool IsChecked
        {
            get
            {
                return ischecked;
            }
            set
            {
                ischecked = value;
            }
        }

        public CheckedListCellItem()
        {
        }

        public CheckedListCellItem(AzureRoleInstance paramInstance, CounterSet paramCntrSet)
        {
            CntrSet = paramCntrSet;
            Instance = paramInstance;
            //if (AzureMonInstanceContext.ConfigCountersets.CtrSets[Instance.CounterSetIndex].Equals(paramCntrSet))
            //{
            //    IsChecked = true;
            //}
        }

    }
}
